package com.whxd.smarthome;

import java.io.IOException;
import java.util.Properties;

public class Config {

	// �����ֳȷ����ַ
	public static String host;
	// �����ֳ��˺�
	public static String devUser;
	public static String devPassword;

	static {
		Properties props = new Properties();
		try {
			props.load(Config.class.getClassLoader().getResourceAsStream("config.properties"));
			host = props.getProperty("dh.host");
			devUser = props.getProperty("dh.devUser");
			devPassword = props.getProperty("dh.devPassword");
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
